﻿package net.area80.serverside.activity.adapter
{
	
	/**
	* AdapterSendToFriends
	* @author Wissarut Pimanmassuriya
	*/
	public class AdapterSendToFriends extends AdapterHTTPActivity
	{
		public function load (sFromEmail:String, sToEmail:String, ...moreEmails):void {
				var args:Array = [["sFromEmail", sFromEmail], ["sToEmail", sToEmail]];
				for (var i:int = 0; i < moreEmails.length; i++) {
					args.push(["sToEmail" + (i + 2), moreEmails[i]]);
				}
				send.apply(this, args);
		}
	}
	
}